package com.bird.user.remote

import com.bird.user.application.pl.UserInfoResponse
import com.bird.user.client.pl.UserInfoClientRes

fun UserInfoResponse.toUserClientRes(): UserInfoClientRes {
    return UserInfoClientRes(
        id = this.id,
        username = this.username,
        phone = this.phone,
        nickname = this.nickname,
        roles = this.roles
    )
}